#ifndef HLOGINPANEL_H
#define HLOGINPANEL_H

#include <QObject>
#include <QtWidgets>
#include <QtDeclarative>
#include "../HCustomWidgets/HComponent.h"
#include "../../../PublicHeard/AVClientSDK/HAVClientUIProtocol.h"

class HUICLogin;
class HSettingPanel;

class HLoginPanel : public HFlipableWidget
{
    Q_OBJECT
public:
    HLoginPanel(QWidget *parent = 0);
    ~HLoginPanel();
	void                     setWarning(QString strWarning);
	void                     setLoginInfo(QStringList strlstLoginInfo);

private:
    void                     initUI();

public slots:
    void                     sltDealPlatformProtocol();
private slots:
    void                     sltMinBtnClicked();
    void                     sltLoginBtnClicked();
	void                     sltSettingSaved();

private:
    HUICLogin                *m_pwndLogin;
    HSettingPanel            *m_pwndSetting;

signals:
    void                      sigSendUIProtocol(HTUIProtocol);
};

#endif
